package ltd.rycloud.tms.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/***
 * @author     ：RYCloud.ltd ZhangLongBiao
 * @date       ：Created in 2019/6/24 0:47
 * @description：该类为主页跳转控制类，判断用户登录session状态后返回信息(RYC)
 *山东如翼云计算科技有限公司  张龙彪  15169994844
 ***/
@Controller
public class RYCIndexController {
    @Autowired
    @RequestMapping("/")
    public String index(){
        return "index";
    }
    @RequestMapping("/login")
    public String login(){
        return "login";
    }
}
